package com.woniu.model;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 检查影像表
 * </p>
 *
 * @author ${author}
 * @since 2021-11-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class HisImage implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 影像表主键id，必填
     */
    @TableId(value = "image_id", type = IdType.AUTO)
    private Integer imageId;

    /**
     * 影像结果，必填
     */
    private String imageResult;

    /**
     * 影像地址，必填
     */
    private String imageAddress;

    /**
     * 病历主键ID，必填
     */
    private Integer caseId;

    /**
     * 检查项目表id，必填
     */
    private Integer checkId;

    /**
     * 检查项目名字，必填
     */
    private String imageProject;

    /**
     * 记录新增时间
     */
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime rawAddTime;

    /**
     * 记录更新时间
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime rawUpdateTime;


}
